<%@ page language="java"  import="java.sql.*" pageEncoding="UTF-8" %>
<%!
    public Connection getConnection()throws Exception{
        Class.forName("com.mysql.jdbc.Driver");
        Connection conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/school?useUnicode=true&characterEncoding=utf8&useSsL=true","root","123456");
        return conn;
    }
%>

